package com.xiaoliu.pojo;

import org.springframework.beans.factory.annotation.Value;
//import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.stereotype.Component;

@Component
public class DataBaseConfig {

	@Value("${spring.datasource.bss.driver-class-name}")
	String driver;
	
	@Value("${spring.datasource.bss.jdbcUrl}")
	String url;
	
	@Value("${spring.datasource.bss.username}")
	String username;
	
	@Value("${spring.datasource.bss.password}")
	String password;

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
